import dash
from dash import html
import flask

server = flask.Flask(__name__)


@server.route("/")
def home():
    return "hello, Flask"


app = dash.Dash(server=server, routes_pathname_prefix='/dash/')

app.layout = html.Div('This is a Dash app')


if __name__ == '__main__':
    app.run_server(debug=True)